﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Neoseeker.NAMFox.Tests
{
    public class NAMFoxToolbar
    {
        public NAMFoxToolbar()
        {
            this.BlogButton = new MenuItem("namfox-my-blog");
            this.BookSearchButton = new MenuItem("namfox-search-books");
            this.CustomSmileyButton = new MenuItem("namfox-custom-smiley");
            this.GalleryButton = new MenuItem("namfox-my-gallery");
            this.MyNeoforumButton = new MenuItem("namfox-my-neoforum");
            this.CrsProfileOverviewButton = new MenuItem("namfox-crs-profile-overview");
            this.CrsLatestContributionsButton = new MenuItem("namfox-crs-latest-contributions");
            this.CrsPendingContributionsButton = new MenuItem("namfox-crs-queue");
        }

        public MenuItem BlogButton
        {
            get;
            private set;
        }

        public MenuItem BookSearchButton
        {
            get;
            private set;
        }

        public MenuItem CustomSmileyButton
        {
            get;
            private set;
        }

        public MenuItem GalleryButton
        {
            get;
            private set;
        }

        public MenuItem MyNeoforumButton
        {
            get;
            private set;
        }

        public MenuItem CrsProfileOverviewButton
        {
            get;
            private set;
        }

        public MenuItem CrsLatestContributionsButton
        {
            get;
            private set;
        }

        public MenuItem CrsPendingContributionsButton
        {
            get;
            private set;
        }

        public void AddSearchNeoseekerButton()
        {
            TestBase.Selenium.Processor.DoCommand("addSearchNeoseekerButton", null);
        }
    }
}
